# cmake version
cmake_minimum_required(VERSION 3.16.3)
# project name
project(analog)
# set c++ version
set(CMAKE_CXX_STANDARD 11)
# cmake type
set(CMAKE_BUILD_TYPE Debug)
# include dir add,split by<space>
include_directories(./include)
#output set
SET(EXECUTABLE_OUTPUT_PATH ../64/)
# link directories
link_directories(./64/)

# add source
###===================================###
#add source file
aux_source_directory(./src DIR_SRCS)
#add source
###===================================###
#compile and link
add_executable(run ${DIR_SRCS})
#add dll 
target_link_libraries(run InstrumentsPlayground.dll)
#add lib
target_link_libraries(run InstrumentsPlayground.lib)